﻿@model PrjctMngmt.Models.Team

@using (Html.BeginForm("Create", "Team", FormMethod.Post, new { id = "TeamForm" })) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Team</legend>

         <div class="editor-label">
            Name
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TeamName)
            @Html.ValidationMessageFor(model => model.TeamName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Description)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Description) (optional)
            @Html.ValidationMessageFor(model => model.Description)
        </div>
    </fieldset>
}